home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / tools / udtdem / sdk / rqproc / rqproc.c < prev    next >
Text File  |  1996-07-10  |  2KB  |  121 lines

  1. #include <process.h>
  2. #include <tispxipx.h>
  3.  
  4. #include "rqproc.h"
  5. #include "main.h"
  6.  
  7.  
  8.  
  9. int RQProcRegisterNewClient ( HCLIENT hClient,
  10.                               const IPX_ADDR * pstIPXAddress,
  11.                               WORD wNetwareConnection,
  12.                               const char * pszUserName
  13.                             )
  14. {
  15.  
  16.     int iClientID = SetNLMID ( GetLibraryID () );
  17.  
  18.  
  19.     // Add your code here
  20.  
  21.     SetNLMID ( iClientID );
  22.     return ( RQP_OK );
  23.  
  24. }
  25.  
  26.  
  27. int RQProcClientTermination ( HCLIENT hClient )
  28. {
  29.  
  30.     int iClientID = SetNLMID ( GetLibraryID () );
  31.  
  32.  
  33.     // Add your code here
  34.  
  35.     SetNLMID ( iClientID );
  36.     return ( 1 );
  37.  
  38. }
  39.  
  40.  
  41. int RQProcCriticalClientTermination ( HCLIENT hClient )
  42. {
  43.  
  44.     int iClientID = SetNLMID ( GetLibraryID () );
  45.  
  46.  
  47.     // Add your code here
  48.  
  49.     SetNLMID ( iClientID );
  50.     return ( 1 );
  51.  
  52. }
  53.  
  54.  
  55. int RQProcGetDescriptionText ( HCLIENT hClient, const char * pRequest, char * pDescription, int iLength )
  56. {
  57.  
  58.     int iClientID = SetNLMID ( GetLibraryID () );
  59.  
  60.  
  61.     // Add your code here
  62.  
  63.     * pDescription = 0;
  64.     SetNLMID ( iClientID );
  65.     return ( 1 );
  66.  
  67. }
  68.  
  69.  
  70. int RQProcProcessRequest ( HCLIENT hClient,
  71.                            char ** ppRequest,
  72.                            LONG * plRequestLength
  73.                          )
  74. {
  75.  
  76.     int iClientID = SetNLMID ( GetLibraryID () );
  77.  
  78.  
  79.     // Add your code here
  80.  
  81.     SetNLMID ( iClientID );
  82.     return ( RQP_OK );
  83.  
  84. }
  85.  
  86.  
  87. int RQProcLoadTransporter ( char * pszCommandLine, char * pszStartupDirectory )
  88. {
  89.  
  90.     return ( RQP_OK );
  91.  
  92. }
  93.  
  94.  
  95. void RQProcDownTransporter ( void )
  96. {
  97.  
  98.     int iClientID = SetNLMID ( GetLibraryID () );
  99.  
  100.  
  101.     // Add your code here
  102.  
  103.     SetNLMID ( iClientID );
  104.  
  105. }
  106.  
  107.  
  108. int RQProcGetNumberOfConnections ( void )
  109. {
  110.  
  111.     int iClientID = SetNLMID ( GetLibraryID () );
  112.  
  113.  
  114.     // Add your code here
  115.  
  116.     SetNLMID ( iClientID );
  117.     return ( 2 );
  118.  
  119. }
  120.  
  121.